// const obj = {
//     ")": "(",
//     "]": "[",
//     "}": "{"
// }

// console.log(Object.keys(obj))
s = "obj"
let arr = []
arr.push(1)
arr.push(2)
console.log(arr)

var dailyTemperatures = function (temperatures) {
    let stack = []
    for (let i = 0; i < temperatures.length; i++) {
        let j;
        for (j = i + 1; j < temperatures.length; j++) {
            if (temperatures[i] < temperatures[j]) {
                stack.push(j - i);
                break;
            }
        }
        if (j === temperatures.length - 1) stack.push(0);
    }
    return stack;
};